package com.xxc.exam.entity.pojo

import com.xxc.batis.po.BasePO
import com.xxc.common.anotation.POKO
import java.io.Serializable
import java.math.BigInteger
import java.sql.Timestamp
import javax.persistence.*

@POKO
@Table(name = "question")
data class Question  (
        var type:Int? = null,
        var level:Int? = null,
        var title:String? = null,
        var options:String? = null,
        var answer:String? = null,
        var analysis:String? = null,
        @Column(name="category_id")
        var categoryId:BigInteger? = null,
        @Column(name="creator_id")
        var creatorId:BigInteger? = null
     ) : BasePO()